package com.hom3;

public class com {
    public static void main(String[] args) {
        Jiafa jiafa = new Jiafa();
        jiafa.a =100;
        jiafa.b =200;
        int result = jiafa.add();
        System.out.println(result);

    }
}

class Jiafa{
    public int a;
    public int b;

public int add(){
   int  result = a +b;
    return result;
}

}